nvm allows you to quickly install and use different versions of node via the command line. Example: $ nvm use 16 Now using node v16.9.1 (npm v7.21.1) $ node -v ... ... <看更多>
nvm is for installing node not npm, npm will be installed. What you're doing with nvm install npm , is attempting to install a node version ... ... <看更多>